package com.keosimage.common;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;

public class KeosImageBaseAction extends ActionSupport implements
		ServletRequestAware {

	private static final long serialVersionUID = -550568718289947535L;
	protected HttpServletRequest request;
	protected HttpSession session;
	protected ServletContext context;

	@Override
	public void setServletRequest(HttpServletRequest request) {
		this.request = request;
		this.session = request.getSession();
		this.context = session.getServletContext();

	}
}
